package kr.hkit.androidcomplete03.ch30;

import kr.hkit.androidcomplete03.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class DetectFree extends Activity {
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.detectfree);
	}

	public void mOnClick(View v) {
		Intent intent = new Intent("com.example.examservice.FREEWIFI");
		intent.putExtra("BroadCast", "WiFi 가능지역");
		sendBroadcast(intent);
	}
}
